2
2
.
.
1
1
.
.
1
1
S
S
p
p
r
r
i
i
n
n
g
g
B
B
o
o
o
o
t
t
S
S
t
t
a
a
r
r
t
t
e
e
r
r
s
s
I
I
n
n
f
f
o
o
[
[
R
R
]
]
Spring Boot Starter
is pom.xml or build.gradle file that contains Maven or Gradle dependencies needed for certain functionality
is Maven or Gradle dependency descriptor that can be included in your pom.xml or build.gradle file
pom.xml or build.gradle file specifies which JAR files are needed for specific functionality.
They make sure that compatible versions of JAR files are downloaded together.
JAR files contain Java classes that implement functionality that you want to include inside your Project.
You can
simply copy these Maven or Gradle dependencies inside your pom.xml or build.gradle file
or use Spring Initializer to automatically create pom.xml or build.gradle file from selected Spring Boot Starters
Spring Boot Starter: Data JPA
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
Spring Boot Starter: Web
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
Spring Boot Starter: H2
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>